//package com.chenl.provider.feign;
//
//
//import com.bitsun.sdk.common.persistence.Pager;
//import com.bitsun.sdk.feign.dto.Result;
//import com.bitsun.sdk.feign.dto.req.BrandReqDto;
//import com.bitsun.sdk.feign.dto.req.CategoryReqDto;
//import com.bitsun.sdk.feign.dto.req.DeviceRecordReqDto;
//import com.bitsun.sdk.feign.dto.req.ModelTypeReqDto;
//import com.bitsun.sdk.feign.dto.res.*;
//import io.swagger.annotations.ApiParam;
//import org.springframework.cloud.openfeign.FeignClient;
//import org.springframework.web.bind.annotation.*;
//
//import javax.validation.Valid;
//import java.util.List;
//import java.util.Map;
//
//
//@FeignClient(value = "model-center")
////@RequestMapping("")
//public interface ModelFeign {
//
//    @PostMapping(value = "/model/deviceRecord/list")
//    Result<Pager<DeviceRecordResDto>> getAllDeviceRecord(@RequestBody Map<String, Object> params);
//
//    @PostMapping(value = "/model/modelTypeRelation/list")
//    Result<Pager<ModelTypeRelationResDto>> getAllModelTypeRelation(@RequestBody Map<String, Object> params);
//
//    @PostMapping(value = "/model/productionLineDevice/list")
//    Result<Pager<ProductionLineDeviceResDto>> getAllProductionLineDevice(@RequestBody Map<String, Object> params);
//
//    @PostMapping(value = "/model/recipeStandard/list")
//    Result<Pager<RecipeStandardResDto>> getAllRecipeStandard(@RequestBody Map<String, Object> params);
//
//    @PostMapping(value = "/model/recipeStandardDetail/list")
//    Result<Pager<RecipeStandardDetailResDto>> getAllRecipeStandardDetail(@RequestBody Map<String, Object> params);
//
//    @GetMapping(value = "/model/technicsStandard/list")
//    Result<Pager<TechnicsStandardResDto>> getAllTechnicsStandard(@RequestBody Map<String, Object> params);
//
//    @PostMapping(value = "/model/technicsStandardDetail/list")
//    Result<Pager<TechnicsStandardDetailResDto>> getAllTechnicsStandardDetail(@RequestBody Map<String, Object> params);
//
//    @PostMapping(value = "/model/tobaccoMaterial/list")
//    Result<Pager<TobaccoMaterialResDto>> getAllTobaccoMaterial(@RequestBody Map<String, Object> params);
//
//    @PostMapping(value = "/model/tobaccoMaterialDetail/list")
//    Result<Pager<TobaccoMaterialDetailResDto>> getAllTobaccoMaterialDetail(@RequestBody Map<String, Object> params);
//
//    //----------------
//    @PostMapping(value = "/material/brand/list")
//    Result<Pager<BrandResDto>> getBrandList(@RequestBody Map<String, Object> params);
//
//    @PostMapping(value = "/material/brand/add")
//    Result<BrandResDto> addBrand(@RequestBody BrandReqDto reqDto);
//
//    @PostMapping(value = "/material/category/list")
//    Result<Pager<CategoryResDto>> getCategoryList(Map<String, Object> params);
//
//    @GetMapping(value = "/material/category/queryParentCategory")
//    Result<List<CategoryResDto>> queryParentCategoryBC();
//
//    @PostMapping(value = "/material/category/")
//    Result<CategoryResDto> addCategoryBC( @RequestBody CategoryReqDto reqDto);
//
//    @DeleteMapping(value = "/{ids}")
//    Result<Void> deleteCategoryBC(@PathVariable("ids") String ids);
//
//    @PostMapping(value = "/delete/{ids}")
//    Result<Boolean> deleteByIds(@PathVariable("ids") String ids );
//
//
//    @PostMapping(value = "/model/deviceRecord/up")
//    Result<DeviceRecordResDto> updateDeviceRecord(@RequestBody DeviceRecordReqDto reqDto);
//
//    //-----------------------------------------------------
//    @PostMapping(value = "/model/modelType/list")
//     Result<Pager<ModelTypeResDto>> getAllModelType(@RequestBody Map<String, Object> params);
//
//    @PostMapping(value = "/model/modelType/up/{id}")
//    Result<ModelTypeResDto> updateModelType(@PathVariable("id") Long id,@RequestBody ModelTypeReqDto reqDto);
//
//    @PostMapping(value = "/model/deviceRecord/delete")
//    Result<Boolean> deleteByIds(@RequestBody Map<String, Object> params);
//}
